package com.ynu.yx.chatroleai.converter;

import com.ynu.yx.chatroleai.dto.AICharacterCreateDto;
import com.ynu.yx.chatroleai.dto.AICharacterUpdateDto;
import com.ynu.yx.chatroleai.model.AICharacter;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface AICharacterConverter {
    AICharacterCreateDto toCreateDto(AICharacter aiCharacter);
    AICharacter toModel(AICharacterCreateDto aiCharacterCreateDto);
    AICharacter toModelFromUpdateDto(AICharacterUpdateDto aiCharacterUpdateDto);
}
